how to factor a quadratic using the box method